$(window).load(function(){
      $('.flexslider').flexslider({
  animation: "fade",
  controlNav: true, 
  directionNav: true,
  easing: "swing",
  slideshowSpeed: 30000,        
     animationSpeed: 3000, 
      });
    });
    //<![CDATA[
        $(window).load(function() { 
            $('#preloader').delay(350).fadeOut('slow'); 
        })
    //]]>